<style tyle="text/css">
    .modal-lg {
      width: 50%;
    }
    .pleft0 {
        padding-left: 0px;
    }
</style>
<div class="modal-header">
  <h4 class="modal-title">收货信息</h4>
</div>
<div class="modal-body">
  <div class="container-fluid form-horizontal">
    <div class="form-group" ng-show="updateAddress">
      <label class="col-xs-4 control-label">供应商：</label>
      <label class="col-xs-8 control-label text-left pleft0">{{obj.entity_supplier}}</label>
    </div>
    <div class="form-group" ng-show="updateAddress">
      <label class="col-xs-4 control-label">供应商电话：</label>
      <label class="col-xs-8 control-label text-left pleft0">{{obj.entity_supplier_phone}}</label>
    </div>
    <div class="form-group">
      <label class="col-xs-4 control-label">收货人：</label>
      <label class="col-xs-8 control-label text-left pleft0" ng-show="updateAddress">{{obj.mail_name}}</label>
      <div class="col-xs-6 pleft0" ng-show="!updateAddress">
        <input type="text" class="form-control" ng-model="obj.mail_name">
      </div>
    </div>
    <div class="form-group">
      <label class="col-xs-4 control-label">收货人电话：</label>
      <label class="col-xs-8 control-label text-left pleft0" ng-show="updateAddress">{{obj.mail_mobile}}</label>
      <div class="col-xs-6 pleft0" ng-show="!updateAddress">
        <input type="text" class="form-control" ng-model="obj.mail_mobile">
      </div>
    </div>
    <div class="form-group">
      <label class="col-xs-4 control-label">收货地址：</label>
      <label class="col-xs-8 control-label text-left pleft0" ng-show="updateAddress">{{obj.mail_address}}</label>
      <div class="col-xs-6 pleft0" ng-show="!updateAddress">
        <input type="text" class="form-control" ng-model="obj.mail_address">
      </div>
    </div>
    <div class="form-group" ng-show="updateAddress">
      <label class="col-xs-4 control-label">快递公司编号：</label>
      <div class="col-xs-6 pleft0" >
        <ui-select ng-model="obj.courier_company_code" theme="bootstrap">
          <ui-select-match placeholder="选择快递公司">{{$select.selected.express_company_name}}</ui-select-match>
          <ui-select-choices repeat="item.express_company_code as item in expresslist">
            <span ng-bind-html="item.express_company_name"></span>
          </ui-select-choices>
        </ui-select>
      </div>
    </div>
    <div class="form-group" ng-show="updateAddress">
      <label class="col-xs-4 control-label">快递单号：</label>
      <div class="col-xs-6 pleft0" >
        <input type="text" class="form-control" ng-model="obj.express_number">
      </div>
    </div>

  </div>
</div>
<div class="modal-footer">
  <button class="btn btn-success" type="button" ng-show="updateAddress" ng-click="save()">确定</button>
  <button class="btn btn-success" type="button" ng-show="!updateAddress" ng-click="saveAddress()">确定</button>
  <button class="btn btn-danger" type="button" ng-click="cancel()">返回</button>
</div>

